package example01;

public class Circle {
    private double r;
public Circle(){
    this.r=10;

}
    public void setR(double r){
        System.out.println(r);

        this.r = r;


    }

    public double findArea(){
        double s = 3.14 * r * r;
        return  s;
    }

}
